package com.chengdu.chun.po;

import java.util.Date;

public class User {
    private Integer uid;

    private String uname;

    private String pass;

    private Integer typeid;

    private String sex;

    private Date birthday;

    private String mobile;

    private String address;

    private Integer ustatus;

    private Date createtime;

    private int studentnum;
    private int classesnum;
    private int roomsnum;

    public int getStudentnum() {
        return studentnum;
    }

    public void setStudentnum(int studentnum) {
        this.studentnum = studentnum;
    }

    public int getClassesnum() {
        return classesnum;
    }

    public void setClassesnum(int classesnum) {
        this.classesnum = classesnum;
    }

    public int getRoomsnum() {
        return roomsnum;
    }

    public void setRoomsnum(int roomsnum) {
        this.roomsnum = roomsnum;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname == null ? null : uname.trim();
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass == null ? null : pass.trim();
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getUstatus() {
        return ustatus;
    }

    public void setUstatus(Integer ustatus) {
        this.ustatus = ustatus;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", pass='" + pass + '\'' +
                ", typeid=" + typeid +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", mobile='" + mobile + '\'' +
                ", address='" + address + '\'' +
                ", ustatus=" + ustatus +
                ", createtime=" + createtime +
                ", studentnum=" + studentnum +
                ", classesnum=" + classesnum +
                ", roomsnum=" + roomsnum +
                '}';
    }
}